package cn.wolfcode.qo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


@Data
public class AppiontmentQueryObject extends QueryObject{
    private String number;
    private Long sys_id;
    private Long app_id;
    private Long b_id;
    private String name;
    private String tel;
//    时间类不能跟字符串相比较,不能判""
    @DateTimeFormat(pattern ="yyyy-MM-dd HH:mm")
    private Date createDate;
    @DateTimeFormat(pattern ="yyyy-MM-dd HH:mm")
    private Date endDate;
}
